Expendable cryptographic key access

ABSTRACT

A computer implemented method of a receiving secure computing component to provide access to a cryptographic key for a key requester, the key being associated with an owning secure computing component by a digitally signed record in a blockchain wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, wherein the key requester has associated a quantity of cryptocurrency by a digitally signed record in the blockchain, the method including receiving a request from the key requester to access the key; generating a first new record for storage in the blockchain to transfer a predetermined quantity of cryptocurrency associated with the requester to be associated with the receiving component, the first new record being validated by the miner components; responsive to the validation of the first new record, communicating a request to the owning component to transfer the key to the receiving component; responsive to securely receiving the key at the receiving component and a validation of a second new record in the blockchain, the second new record associating the key with the receiving component, providing the requester with secure access to the key.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a National Phase entry of PCT Application No. PCT/EP2018/065303, filed Jun. 11, 2018, which claims priority from European Patent Application No. 17175393.2 filed Jun. 12, 2017, each of which is fully incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates to improvements to hardware security modules.

BACKGROUND

Hardware Security Modules (HSMs) are network-connected physical devices tasked with the secure generation, storage and provision of cryptographic keys for use by consuming resources such as computer systems, appliances, devices, software and users. For example, HSMs generate, store and provide public/private key pairs. Increasingly it is necessary for consumers of such keys to require transitioning of the keys between HSMs such that a key generated/managed by a first HSM is securely transitioned for management by a second HSM. For example, transfer may be required due to geography, network topology or a need to migrate from the first HSM (e.g. in the event of fault, deprecation etc.)

While the transfer of a key from a source HSM to a target HSM can be readily effected, certainty of the transfer for consuming resources and non-repudiation of the transfer must be assured.

SUMMARY

Thus, there is a need to address these challenges while providing for the requisite secure and reliable transfer of keys with certainty of key ownership and non-repudiation of the transfer.

The present disclosure accordingly provides, in a first aspect, a computer implemented method of a receiving secure computing component to provide access to a cryptographic key for a key requester, the key being associated with an owning secure computing component by a digitally signed record in a blockchain wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, wherein the key requester has associated a quantity of cryptocurrency by a digitally signed record in the blockchain, the method comprising: receiving a request from the key requester to access the key; generating a first new record for storage in the blockchain to transfer a predetermined quantity of cryptocurrency associated with the requester to be associated with the receiving component, the first new record being validated by the miner components; responsive to the validation of the first new record, communicating a request to the owning component to transfer the key to the receiving component; responsive to securely receiving the key at the receiving component and a validation of a second new record in the blockchain, the second new record associating the key with the receiving component, providing the requester with secure access to the key.

In some embodiments the owning component verifies an entitlement of the requester to access the key.

In some embodiments the owning component generates the record in the blockchain associating the key with the receiving component.

In some embodiments the second new record is validated by the miner components.

In some embodiments the second new record in the blockchain includes a reference to the original record for the key such that the second new record supersedes the original record to associate the key with the other receiving component and to disassociate the key from the owning computing component.

In some embodiments the entitlement of the requester is verified based on identification information for the requester.

In some embodiments each of the receiving and owning secure computing components are hardware security modules (HSMs).

In some embodiments at least some of the miner components are hardware security modules (HSMs).

In some embodiments the blockchain is a distributed transactional database.

In some embodiments the miner components confirm a state of the blockchain by reaching a consensus as to the state of the blockchain based on a proof of work.

In some embodiments an insufficiency of a quantity of cryptocurrency associated with the key requester precludes access, by the key requester, to the key.

The present disclosure accordingly provides, in a second aspect, a computer system including a processor and memory storing computer program code for performing the method set out above.

The present disclosure accordingly provides, in a third aspect, a computer program element comprising computer program code to, when loaded into a computer system and executed thereon, cause the computer to perform the method set out above.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the present disclosure will now be described, by way of example only, with reference to the accompanying drawings, in which:

FIG. 1 is a block diagram a computer system suitable for the operation of embodiments of the present disclosure.

FIG. 2 is a component diagram of an arrangement for providing access to a cryptographic key for a key requester according to embodiments of the present disclosure.

FIG. 3 is a flow diagram of a method of providing access to a cryptographic key for a key requester according to embodiments of the present disclosure.

FIG. 4 is a flow diagram of a method of providing access to a cryptographic key for a key requester according to alternative embodiments of the present disclosure.

DETAILED DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a computer system suitable for the operation of embodiments of the present disclosure. A central processor unit (CPU) 102 is communicatively connected to a storage 104 and an input/output (I/O) interface 106 via a data bus 108. The storage 104 can be any read/write storage device such as a random access memory (RAM) or a non-volatile storage device. An example of a non-volatile storage device includes a disk or tape storage device. The I/O interface 106 is an interface to devices for the input or output of data, or for both input and output of data. Examples of I/O devices connectable to I/O interface 106 include a keyboard, a mouse, a display (such as a monitor) and a network connection.

FIG. 2 is a component diagram of an arrangement for providing access to a cryptographic key 205 for a key requester 206 according to embodiments of the present disclosure. A key requester 206 is a hardware, software, firmware or combination component for consuming a cryptographic key 205 in a computing system. For example, the requester 206 can be a computer system or a software component executing within a computer system. In some embodiments, the requester 206 can be a computing facility such as a device employed by a user to access and/or use a cryptographic key 205. The key 205 can be a single cryptographic or digital key or a combination of two or more keys for use together and/or in conjunction, such as a key pair. In some embodiments, the key 205 is dedicated to the key requester 206 such that the requester 206 is intended to have exclusive use of the key 205.

The key 205 is generated, stored, managed and/or made available by a secure computing component. Such a secure computing component can be a hardware, software, firmware or combination component. In the illustrated embodiment, the secure computing component is a hardware security module (HSM) 202 that can be said to have “ownership” of the key 205 by way of being responsible for the key 205. For example, the owning HSM 202 can be responsible for the storage, provision, security or otherwise making available and handling of the key 205. In preferred embodiments, a single HSM owns the key 205 at a point in time such that only one HSM is able to store, provision, handle and/or make available the key 205 at a point in time.

A second secure computing component, referred to as a receiving secure computing component, is represented in the illustrated embodiments as receiving HSM 203. Initially, the receiving HSM 203 does not have access to the key 205. In use, the receiving HSM 203 receives a request from the key requester 206 to access, receive, retrieve or otherwise handle the key 205. Embodiments of the present invention provide a mechanism for providing the requester 206 with access to the key 205 via the receiving HSM 203 in a secure manner.

The arrangement of FIG. 2 further includes a computer network 200 such as a wired, wireless, or combination network. The network connects each of the owning HSM 202, the receiving HSM 203 and the requester 206. Additionally, communicatively connected to the network 200, or communicable by the network 200, is a distributed sequential transactional database such as a blockchain database 208.

Distributed sequential transactional databases are well known in the field of cryptocurrencies and are documented, for example, in “Mastering Bitcoin. Unlocking Digital Crypto-Currencies.” (Andreas M. Antonopoulos, O'Reilly Media, April 2014). For convenience, such a database is herein referred to as a blockchain though it will be appreciated that other suitable databases, data structures or mechanisms possessing the characteristics essential for embodiments of the present invention could alternatively be used. A blockchain is a distributed chain of block data structures accessed by a network of nodes, referred to here as a miner network. Each block in the blockchain includes a plurality of record data structures known as transactions, each transaction referring or relating to a prior transaction. For example, in one embodiment each blockchain includes a Merkle of hash or digest values for transactions included in the block to arrive at a hash value for the block, which is itself combined with a hash value for a preceding block to generate a chain of blocks (blockchain). A new block of transactions is added to the blockchain by miner software, hardware, firmware or combination systems 210 in a miner network. The miners 210 are communicatively connected to sources of transactions and access or copy the blockchain 208. A miner 210 undertakes validation of the substantive content of a transaction and adds a block of new transactions to the blockchain 208 when a challenge is satisfied as a proof of work, typically such challenge involving a combination hash or digest for a prospective new block and a preceding block in the blockchain 208 and some challenge criterion. Thus, miners 210 in the miner network may each generate prospective new blocks for addition to the blockchain 208. Where a miner 210 satisfies or solves the challenge and validates the transactions in a prospective new block such new block is added to the blockchain 208. Accordingly, the blockchain 208 provides a distributed mechanism for reliably verifying a data entity. The detailed operation of such blockchains and the function of miners in a miner network is beyond the scope of this specification. The manner in which the blockchain 208 and network of miners 210 operate promotes the adoption of verifiably valid transactions as new blocks added to a blockchain 208 in a manner that is persistent within the blockchain 208. Transactions added erroneously or maliciously are not verifiable by other miners 210 in the network and their persistence in the blockchain 208 is undermined. This attribute of blockchains can be exploited by embodiments of the present invention to provide a verifiable and non-repudiable ownership of the key 205 at a point in time as described below with reference to FIGS. 3 and 4.

Notably, in some embodiments, either or each of the owning HSM 202 and the receiving HSM 203 are additionally miners in the miner network. Further, in some embodiments, the miners 210 include HSMs and/or other computing components.

FIG. 3 is a flow diagram of a method of providing access to a cryptographic key 205 for a key requester 206 according to embodiments of the present disclosure. Initially, at 302, the key requester 206 requests access to the key 205 from the receiving HSM 203. The receiving HSM 203 communicates 304 a request to the owning HSM 202 to transfer the key 205, and ownership of the key 205, to the receiving HSM 203 in order that the requester's request can be satisfied.

At 306 the owning HSM 202 verifies an entitlement of the requester 206 to access the key 205. This verification can be achieved based on identification information for the requester 206 that can be provided by the requester 206, such as via the receiving HSM 203. Responsive to the verification of entitlement of the requester 206, the owning HSM 202 generates 308 a new record (a transaction) for storage in the blockchain 208 to record a transfer of ownership of the key 205 from the owning HSM 202 to the receiving HSM 203. The record is provided to miners 210 in the miner network for validation 310 and eventual commitment to the blockchain 208 as a new blockchain record 312, such as a new transaction as part of a new validated block of transactions.

At 314 (which may be dependent on the confirmed validation of the new blockchain record 312 by miners 310), the owning HSM 202 securely transfers the key 205 to the receiving HSM 203. The receiving HSM 203 validates 316 that it has valid ownership of the key 205 with reference to, and validation of, the new blockchain record 312 in the blockchain 208. Subsequently, the receiving HSM 203 securely provides 318 the key 205 to the requester 206.

The use of the blockchain 208 to record validated transfers of ownership of the key 205 provides a reliable, commonly accessible and commonly validated record of ownership of the key 205 with protection from repudiation. In some embodiments, the key 205 is provided to requester 206 only by an owning HSM such that a transfer of ownership of the key 205 effects a change to the HSM for providing the key 205.

The transfer of the key 205 is provided in the blockchain 208 by the new blockchain record 312 which provides an association between the receiving HSM 203 and the key 205. In some embodiments, the original ownership of the key 205 by the owning HSM 202 (prior to a transfer of ownership to the receiving HSM 203) is also recorded by a record in the blockchain 208, i.e. an original record of ownership of the key 205 which associates the owning HSM 202 with the key 205. In this way, the new blockchain record 312 that transfers ownership of the key 205 to the receiving HSM 203 supersedes the original record, and the key 205 becomes associated with the receiving HSM 203, and disassociated from the owning HSM 202, by way of the new record 312. Preferably, this superseding of the original record is achieved by a reference, in the new blockchain record 312, to the original record such as by way of a hash or some such of the original record included in the new record 312 that is then digitally signed by the receiving HSM 203 and/or the owning HSM 202. This is consistent with the typical nature of blockchains in which each subsequent block of transactions includes a signed hash of an immediately preceding block so as to provide the irrefutable chaining of blocks and, therefore, the advantages of the blockchain.

In some security architectures and/or policies, access to, use of and/or availability of secure resources such as cryptographic keys can be limited such that there are constraints on a use, rate of use or extent of use of such resources. Embodiments of the present disclosure are capable of supporting such models of resource use as described below.

FIG. 4 is a flow diagram of a method of providing access to a cryptographic key 205 for a key requester 206 according to alternative embodiments of the present disclosure. In the arrangement according to FIG. 4, the key requester 206 additionally has associated a quantity of fiat value recorded in the blockchain 208. Such fiat value can be realized as, for example, a cryptocurrency such as bitcoin, Ethereum ether or the like. Actions relating to the key 205 can be defined to involve the consumption of such fiat value according to a predetermined policy. For example, a transfer of ownership of the key 205 for the requester 206 can involve the expenditure of cryptocurrency of the requester 206 as a mechanism for constraining a number of such transfers, or to impose a restriction on such transfers relative to a resource cost of such transfers or a resource cost of such ownership by the receiving HSM 203. For example, such resource cost can include a volume or quantity of computing resources consumed or forecast to be consumed by the receiving HSM 203 due to the encumbrance of the receiving HSM 203 by the transfer and/or ownership of the key 205.

According to the flow of FIG. 4, at 302 the requester initially sends a request to the receiving HSM 203 to access the key 205. Subsequently, the receiving HSM 203 prompts the transfer of a predetermined quantity of cryptocurrency 401 by the requester 206. The transfer can be in favor of the receiving HSM 203 such that the receiving HSM 203 receives the cryptocurrency transferred by the requester 206. At 402 the requester 206 generates a new cryptocurrency transaction 402 for submission to miners 210. The miners 210 validate the transaction 403 which becomes committed to the blockchain 208 as a validated transaction 404. Subsequently, at 405, the receiving HSM 203 seeks to validate the cryptocurrency transaction 404 to confirm that the transfer took place and there is an appropriate expenditure of cryptocurrency by the requester 206. Where such validation is affirmative, the receiving HSM 203 proceeds from 304 as previously described with respect to FIG. 3 to effect a transfer of ownership of the key 205 and provision of the key to the requester 206.

Notably, where the transfer or cryptocurrency is not completed, such as due to an insufficient quantity of cryptocurrency associated with the requester 206 or an insufficient volume of currency transferred, then the key transfer process from 304 does not take place. In this way, the extent of access and ownership transfer of the key 205 can be constrained.

Thus, in use, two new blockchain records are created as part of the process of FIG. 4. A first new blockchain record (transaction) is generated, validated and committed to the blockchain 208 to effect the transfer of cryptocurrency. A second new blockchain record (transaction) is generated, validated and committed to the blockchain 208 to effect the transfer or ownership of the key 205.

While the arrangement of FIG. 4 is described such that the cryptocurrency transactions are validated by the same miners 210 and stored in the same blockchain 208 as the key ownership records, it will be apparent to those skilled in the art that a separate blockchain or other sequential distributed transactional database may be employed for the cryptocurrency transactions.

Insofar as embodiments of the disclosure described are implementable, at least in part, using a software-controlled programmable processing device, such as a microprocessor, digital signal processor or other processing device, data processing apparatus or system, it will be appreciated that a computer program for configuring a programmable device, apparatus or system to implement the foregoing described methods is envisaged as an aspect of the present disclosure. The computer program may be embodied as source code or undergo compilation for implementation on a processing device, apparatus or system or may be embodied as object code, for example.

Suitably, the computer program is stored on a carrier medium in machine or device readable form, for example in solid-state memory, magnetic memory such as disk or tape, optically or magneto-optically readable memory such as compact disk or digital versatile disk etc., and the processing device utilizes the program or a part thereof to configure it for operation. The computer program may be supplied from a remote source embodied in a communications medium such as an electronic signal, radio frequency carrier wave or optical carrier wave. Such carrier media are also envisaged as aspects of the present invention.

It will be understood by those skilled in the art that, although the present disclosure has been described in relation to the above described example embodiments, the invention is not limited thereto and that there are many possible variations and modifications which fall within the scope of the claims.

The scope of the present includes any novel features or combination of features disclosed herein. The applicant hereby gives notice that new claims may be formulated to such features or combination of features during prosecution of this application or of any such further applications derived therefrom. In particular, with reference to the appended claims, features from dependent claims may be combined with those of the independent claims and features from respective independent claims may be combined in any appropriate manner and not merely in the specific combinations enumerated in the claims. 

1. A computer implemented method of a receiving secure computing component to provide access to a cryptographic key for a key requester, the cryptographic key being associated with an owning secure computing component by a digitally signed record in a blockchain, wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, wherein the key requester has associated a quantity of cryptocurrency by a digitally signed record in the blockchain, the method comprising: receiving a request from the key requester to access the cryptographic key; generating a first new record for storage in the blockchain to transfer a predetermined quantity of cryptocurrency associated with the key requester to be associated with the receiving secure computing component, the first new record being validated by the miner computing components; responsive to the validation of the first new record, communicating a request to the owning secure computing component to transfer the cryptographic key to the receiving secure computing component; and responsive to securely receiving the cryptographic key at the receiving secure computing component and a validation of a second new record in the blockchain, the second new record associating the cryptographic key with the receiving secure computing component, providing the key requester with secure access to the cryptographic key.
 2. The method of claim 1, wherein the owning secure computing component verifies an entitlement of the key requester to access the cryptographic key.
 3. The method of claim 1, wherein the owning secure computing component generates the second new record in the blockchain associating the cryptographic key with the receiving secure computing component.
 4. The method of claim 1, wherein the second new record is validated by the miner computing components.
 5. The method of claim 1, wherein the second new record in the blockchain includes a reference to the original record for the cryptographic key such that the second new record supersedes the original record to associate the cryptographic key with the receiving secure computing component and to disassociate the key from the owning secure computing component.
 6. The method of claim 1, wherein the entitlement of the key requester is verified based on identification information for the key requester.
 7. The method of claim 1, wherein each of the receiving secure computing component and the owning secure computing component is a hardware security module (HSM).
 8. The method of claim 1, wherein at least some of the miner computing components are hardware security modules (HSMs).
 9. The method of claim 1, wherein the blockchain is a distributed transactional database.
 10. The method of claim 1, wherein the miner computing components confirm a state of the blockchain by reaching a consensus as to the state of the blockchain based on a proof of work.
 11. The method of claim 1, wherein an insufficiency of a quantity of cryptocurrency associated with the key requester precludes access, by the key requester, to the cryptographic key.
 12. A computer system comprising: a processor and memory storing computer program code for a receiving secure computing component to provide access to a cryptographic key for a key requester, the cryptographic key being associated with an owning secure computing component by a digitally signed record in a blockchain, wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, wherein the key requester has associated a quantity of cryptocurrency by a digitally signed record in the blockchain, by: receiving a request from the key requester to access the cryptographic key; generating a first new record for storage in the blockchain to transfer a predetermined quantity of cryptocurrency associated with the key requester to be associated with the receiving secure computing component, the first new record being validated by the miner computing components; responsive to the validation of the first new record, communicating a request to the owning secure computing component to transfer the cryptographic key to the receiving secure computing component; and responsive to securely receiving the cryptographic key at the receiving secure computing component and a validation of a second new record in the blockchain, the second new record associating the cryptographic key with the receiving secure computing component, providing the key requester with secure access to the cryptographic key.
 13. A non-transitory computer-readable storage element storing a computer program element comprising computer program code to, when loaded into a computer system and executed thereon, cause the computer system to provide access to a cryptographic key for a key requester by a receiving secure computing component, the cryptographic key being associated with an owning secure computing component by a digitally signed record in a blockchain, wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, wherein the key requester has associated a quantity of cryptocurrency by a digitally signed record in the blockchain, by: receiving a request from the key requester to access the cryptographic key; generating a first new record for storage in the blockchain to transfer a predetermined quantity of cryptocurrency associated with the key requester to be associated with the receiving secure computing component, the first new record being validated by the miner computing components; responsive to the validation of the first new record, communicating a request to the owning secure computing component to transfer the cryptographic key to the receiving secure computing component; and responsive to securely receiving the cryptographic key at the receiving secure computing component and a validation of a second new record in the blockchain, the second new record associating the cryptographic key with the receiving secure computing component, providing the key requester with secure access to the cryptographic key. 